<?php
/*
 * Created on 10/07/2009
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 	class TextElement implements AtomElement{
 		private $value;
 		private $type;
 		
 		function __construct($value,$type){
 			$this->value=$value;
 			$this->type=$type;
 		}
 		
 		function data(){
 			return $value;
 		}
 		
 		function type(){
 			return $type;
 		}
 	
 		
 	}
?>
